package com.asiainfo.work.vo;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @author: bf
 * @date: 2021/1/8-10:08
 * 单人指标统计返回类
 */
@Data
public class SingleIndicatorStatistics implements Serializable {

    @ApiModelProperty(value = "统计时间")
    private Date statisticsDate;

    @ApiModelProperty(value = "用户账号")
    private String account;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "所属团队")
    private Integer teamId;

    @ApiModelProperty(value = "当月工时")
    private Integer monthlyWorkTime;

    @ApiModelProperty(value = "当月代码合并量")
    private Integer monthlyMergeCode;

    @ApiModelProperty(value = "当月任务总数")
    private Integer monthlyTaskCount;

    @ApiModelProperty(value = "当月任务工期预计总时长")
    private BigDecimal monthlyTaskEsTime;

    @ApiModelProperty(value = "当月任务完成总数")
    private Integer monthlyTaskClosedCount;

    @ApiModelProperty(value = "当月已完成任务实际总时长")
    private BigDecimal monthlyTaskClosedActualTime;

    @ApiModelProperty(value = "当月需求开发总工时")
    private BigDecimal monthlyTaskActualTime;

    @ApiModelProperty(value = "当月bug处理总工时")
    private BigDecimal monthlyFixBugConsumeTime;

    @ApiModelProperty(value = "当年合并代码量")
    private Integer yearMergeCode;

    @ApiModelProperty(value = "当年bug总数")
    private Integer yearBugCount;

    @ApiModelProperty(value = "当年已关闭bug数")
    private Integer yearBugClosedCount;

    @ApiModelProperty(value = "当年修复完成的bug总时长")
    private BigDecimal yearFixBugClosedConsumeTime;

    @ApiModelProperty(value = "bug率")
    private String bugRate;

    @ApiModelProperty(value = "平均bug解决时长")
    private BigDecimal fixBugAvgTime;

    @ApiModelProperty(value = "当月需求任务工时占比")
    private String monthlyTaskTimeRate;

    @ApiModelProperty(value = "当月bug处理工时占比")
    private String monthlyBugTimeRate;

    @ApiModelProperty(value = "当月平均每任务预计时长")
    private BigDecimal monthlyAvgTaskEsTime;

    @ApiModelProperty(value = "平均每任务实际时长")
    private BigDecimal monthlyAvgTaskActualTime;

    @ApiModelProperty(value = "平均每任务时长偏差")
    private BigDecimal monthlyAvgTaskDeviationTime;

}
